import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index/Index'
import About from '@/pages/about/about'
import Join from '@/pages/join/join'
import Partner from '@/pages/partner/partner'
import Download from '@/pages/download/download'
import newsList from '@/pages/newsList/newsList'
Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes:
  [
    {
      path: '/',
      name: 'index',
      component: Index
    }, {
      path: '/about',
      name: 'About',
      component: About
    }, {
      path: '/join',
      name: 'Join',
      component: Join
    }, {
      path: '/partner',
      name: 'Partner',
      component: Partner
    }, {
      path: '/download',
      name: 'Download',
      component: Download
    }, {
      path: '/newsList',
      name: 'newsList',
      component: newsList
    }
  ]

})
